package com.simple.datax.dao;

import java.util.List;

import com.simple.datax.vo.TbResourcesIdVO;
import com.simple.datax.vo.TbResourcesVO;

public interface ITbResourcesDAO {
	/**
	 * Find by id.
	 * 
	 * @param id
	 *            the id
	 * @return the tb resources vo
	 */
	TbResourcesVO findById(final TbResourcesIdVO id);

	/**
	 * Find all.
	 * 
	 * @return the list
	 */
	List<TbResourcesVO> findAll();

	/**
	 * Save or update.
	 * 
	 * @param tbResourcesVo
	 *            the tb resources vo
	 */
	void saveOrUpdate(final TbResourcesVO tbResourcesVo);

	/**
	 * Delete.
	 * 
	 * @param tbResourcesVo
	 *            the tb resources vo
	 */
	void delete(final TbResourcesVO tbResourcesVo);

	/**
	 * Find by packages.
	 * 
	 * @param _packageAry
	 *            the _package ary
	 * @return the list
	 */
	List<TbResourcesVO> findByPackages(final String[] _packageAry);
}
